package com.keymozy.listenner;

import lombok.extern.slf4j.Slf4j;

import javax.servlet.annotation.WebListener;
import javax.servlet.http.HttpSessionEvent;
import javax.servlet.http.HttpSessionListener;
public class SessionListenner implements HttpSessionListener {
    @Override
    public void sessionDestroyed(HttpSessionEvent se) {
        System.out.println("session进入了销毁");
    }

    @Override
    public void sessionCreated(HttpSessionEvent se) {
        System.out.println("session开始创建");
    }
}
